<%@page import="com.mmy.domain.sys.TSysUser"%>
<%@page import="com.mmy.domain.bidtender.TBidInvite"%>
<%@page import="com.mmy.domain.bidtender.VBidInvite"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> 
 <%
 	TSysUser tSysUser = (TSysUser)session.getAttribute("tSysUser");
%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="/WEB-INF/jsp/includeb.jsp"></jsp:include>
<script type="text/javascript" src="js/jsp/back/bidinvite/bidInviteIndex.js"></script>
<title>招投标管理-招标显示</title>
</head>
<body>

<div id="off-canvas-container" class="off-canvas-container">
<jsp:include page="/WEB-INF/jsp/BackHeader.jsp"></jsp:include>
<div id="menu-back">
		<main class="at-padding-large-bottom">
			<article>
				<header class="bg-light at-padding-large-top at-padding-large-bottom at-margin-large-bottom">
					<div class="page-header container">
						<div class="row">
							<div class="span-5 col">
								<h1><label>招投标管理</label></h1>
							</div>	
							
						 </div >
					</div>
				</header>
				<section class="container">	
					
						<!-- 招标信息展示 -->
					<div class="information" >
					
						<h4 class="info-h4">
							<i class="fa fa-caret-right" aria-hidden="true" ></i><label>招标信息管理</label>
						</h4>
						<div class="input-container">
						
							<div class="select-condition">
							<form  class="info-form" >
							<span> <label for="searchInviteName">招标名称：</label></span>
							<input id="searchInviteName" type="text" class="input-width" name="strInviteName" maxlength="64" />
							<span><label for="searchType">招标类型：</label></span>
							<select class="select-height" name="strType" id="searchType" maxlength="2">
								<option value="" >不限</option>
								<option value="0" >公务</option>
				 				<option value="1" >团建</option>
								<option value="2" >业内</option>
								<option value="3" >私密游</option>
							</select> 
								<input type="button" value="搜索" class="btn" onclick="searchInvite()" />
							<input type="button" class="btn" value="清空" onclick="clearInvite()" /> 
								<div class="at-float-right">
							<input type="button" class="btn " value="增加" onclick="location.href='/mmy/tocreatebidinvite'"/>
							<input type="button" class="btn " value="修改"  onclick="updateBidInvite()"/>
							<input type="button" class="btn"  value="发布" onclick="issueBidInvite()"/>
							<c:if test="${tSysUser.getUserID()==0 }">
							<!-- 2021.03.17 先暂时要求只能超级管理员可以审核 -->
							<%-- <c:if test="${tSysUser.getUserID()==0 || dbSysUserRole!=null }"> --%>
							<input type="button" class="btn"  value="进入审核" onclick="location.href='/mmy/toreviewbidinvite'"/>
							</c:if>
							<input type="button" class="btn"  value="查看标书" onclick="getBidTender()"/>
							</div>
							</form>
						</div>
						<!-- 引入异步刷新表格显示招标信息 2021.02.10 hanxl -->
						<div class="tableheight"><table class="info-table" id="dg"></table></div>
						</div>	
					</div>
					<!-- 招标基本信息展示结束 -->
				</section>
				
					
					
			</article>
			
		</main>
		
</div>
		<jsp:include page="/WEB-INF/jsp/Footer.jsp"></jsp:include>
	</div>
	<jsp:include page="/WEB-INF/jsp/include2.jsp"></jsp:include>
</body>
</html>